@extends('layouts.app')

@section('content')
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card"> 
                <div class="card-body">
                    @if (session('status'))
                        <div class="alert alert-success">
                            {{ session('status') }}
                        </div>
                    @endif
                    <form action="{{ route('make.file') }}" method="post">
                        @csrf
                        <div class="form-group">
                            <label for="url">目标地址</label>
                            <input type="text" name="url" class="form-control">
                        </div>
                        <div class="form-group">
                            <button class="btn btn-primary">保存到本地</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection
